REM
@echo off
setlocal 

set path=C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727;%path%
set FXCOP_PATH=D:\Program Files\Microsoft FxCop 1.35

REM echo ###################################################################
msbuild /t:Rebuild /p:Configuration=CodeAnalysis Telnet.sln
echo ######

set RULES_DISABLE=
REM Do not pass literals as localized parameters 
set RULES_DISABLE=%RULES_DISABLE% /ruleid:-Microsoft.Globalization#CA1303
REM Short acronyms should be uppercase
rem xxxxset RULES_DISABLE=%RULES_DISABLE% /ruleid:-Microsoft.Naming#CA1706
REM Identifiers should not contain underscores
rem xxxxxxxxxxxxxxxxxxx     set RULES_DISABLE=%RULES_DISABLE% /ruleid:-Microsoft.Naming#CA1707
REM
REM ...Mark the member as static (or Shared in VB) or use 'this'/'Me' in the method body...
set RULES_DISABLE=%RULES_DISABLE% /ruleid:-Microsoft.Performance#CA1822
REM
"%FXCOP_PATH%\FxCopCmd.exe" /file:Telnet\bin\CodeAnalysis\TelnetLib.dll /console /dictionary:CustomDictionary.xml %RULES_DISABLE%
REM -- | find /v "Msg_"

REM echo ###################################################################
REM ---- EOF ----
